package com.brainhealth.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 用户道具对象 room_user_property
 * 
 * @author ruoyi
 * @date 2023-11-06
 */
public class RoomUserProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户道具表数据库主键 */
    private Long id;

    /** 主键集合 */
    private List<Long> idList;

    /** 道具编号 */
    @Excel(name = "道具编号")
    private Long propertyId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long customerId;

    /** 商品分类ID */
    @Excel(name = "商品分类ID")
    private Integer goodsCategoryId;

    /** 商品分类ID */
    @Excel(name = "商品分类ID")
    private Integer goodsType;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 商品简称 */
    @Excel(name = "商品简称")
    private String goodsShortName;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 小图图片地址 */
    @Excel(name = "小图图片地址")
    private String goodsSmallImg;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String goodsImg;

    /** 大图图片地址 */
    @Excel(name = "大图图片地址")
    private String goodsBigImg;

    /** 商品使用说明 */
    @Excel(name = "商品使用说明")
    private String goodsInstructions;

    /** 页面展示层级 */
    @Excel(name = "页面展示层级")
    private Integer layer;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private Long goodsScore;

    /** 商品状态（0：未使用 1：已使用） */
    @Excel(name = "商品状态", readConverterExp = "0=：未使用,1=：已使用")
    private Integer goodsStatus;

    /** 是否删除0:未删除 1：已删除 */
    @Excel(name = "是否删除0:未删除 1：已删除")
    private Integer yn;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createUser;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }

    public void setPropertyId(Long propertyId)
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() 
    {
        return propertyId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setGoodsCategoryId(Integer goodsCategoryId) 
    {
        this.goodsCategoryId = goodsCategoryId;
    }

    public Integer getGoodsCategoryId() 
    {
        return goodsCategoryId;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsShortName(String goodsShortName) 
    {
        this.goodsShortName = goodsShortName;
    }

    public String getGoodsShortName() 
    {
        return goodsShortName;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsSmallImg() {
        return goodsSmallImg;
    }

    public void setGoodsSmallImg(String goodsSmallImg) {
        this.goodsSmallImg = goodsSmallImg;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsImg(String goodsImg) 
    {
        this.goodsImg = goodsImg;
    }

    public String getGoodsImg() 
    {
        return goodsImg;
    }

    public String getGoodsBigImg() {
        return goodsBigImg;
    }

    public void setGoodsBigImg(String goodsBigImg) {
        this.goodsBigImg = goodsBigImg;
    }

    public void setGoodsInstructions(String goodsInstructions)
    {
        this.goodsInstructions = goodsInstructions;
    }

    public String getGoodsInstructions() 
    {
        return goodsInstructions;
    }
    public void setGoodsScore(Long goodsScore) 
    {
        this.goodsScore = goodsScore;
    }

    public Integer getLayer() {
        return layer;
    }

    public void setLayer(Integer layer) {
        this.layer = layer;
    }

    public Long getGoodsScore()
    {
        return goodsScore;
    }
    public void setGoodsStatus(Integer goodsStatus) 
    {
        this.goodsStatus = goodsStatus;
    }

    public Integer getGoodsStatus() 
    {
        return goodsStatus;
    }
    public void setYn(Integer yn) 
    {
        this.yn = yn;
    }

    public Integer getYn() 
    {
        return yn;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("idList", getIdList())
            .append("propertyId", getPropertyId())
            .append("customerId", getCustomerId())
            .append("goodsCategoryId", getGoodsCategoryId())
            .append("goodsType", getGoodsType())
            .append("goodsId", getGoodsId())
            .append("goodsShortName", getGoodsShortName())
            .append("goodsName", getGoodsName())
            .append("goodsSmallImg", getGoodsSmallImg())
            .append("goodsImg", getGoodsImg())
            .append("goodsBigImg", getGoodsBigImg())
            .append("goodsInstructions", getGoodsInstructions())
            .append("layer", getLayer())
            .append("goodsScore", getGoodsScore())
            .append("goodsStatus", getGoodsStatus())
            .append("yn", getYn())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
